//
//  UICollectionReusableView+BNAdd.h
//  BNCodeGuide
//
//  Created by kevin007 on 2021/5/20.
//  Copyright © 2021 kevin007. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UICollectionReusableView (BNAdd)

/// headerReusableViewFromXib
/// @param collectionView UICollectionView
/// @param indexPath indexPath NSIndexPath
+ (instancetype)headerReusableViewFromXibWithCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath;

/// headerReusableViewFromClass
/// @param collectionView UICollectionView
/// @param indexPath indexPath NSIndexPath
+ (instancetype)headerReusableViewFromClassWithCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath;

/// footerReusableViewFromXib
/// @param collectionView UICollectionView
/// @param indexPath indexPath NSIndexPath
+ (instancetype)footerReusableViewFromXibWithCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath;

/// footerReusableViewFromClass
/// @param collectionView UICollectionView
/// @param indexPath indexPath NSIndexPath
+ (instancetype)footerReusableViewFromClassWithCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath;
@end

NS_ASSUME_NONNULL_END
